home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
telecomm
/
sticpsrc.lzh
/
SOURCE.ARC
/
COMDEBUG.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-01
|
271b
|
20 lines
/* debug of calls to combios */
#include <stdio.h>
unsigned int combios (ax,dx)
unsigned ax,dx;
{
printf("combios(0x%04x,%d)\n",ax,dx);
fflush(stdout);
switch (ax >> 8)
{
case 2:
return 0x20c0;
case 4:
return 0xaa55;
}
return 0x2100;
}